package cn.wen.forum.web;

import cn.wen.forum.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName UserLoginController
 * @Author By wen
 * @Description 用户信息 控制器
 * @Date 2023/3/16 10:34
 * @Version 1.0
 */
@Controller
@RequestMapping("userInfo")
public class UserInfoController {

    @Autowired
    private IUserService userService;

    /**
     * 跳转个人主页
     * @return
     */
    @GetMapping("personalHomepage/info/{num}/{id}")
    public String getUserInfoPage(@PathVariable("num")String num,@PathVariable("id")String id){
        return "personal";
    }

}
